package org.pearl.spring.demo.bean;

import org.pearl.spring.demo.pojo.Animal;

/**
 * Created by TD on 2021/5/20
 */
public class PearlBeanFactory {
    // 创建Bean实例的静态工厂方法
    public static Animal createBean() {
        return new Animal();
    }

    // 创建Bean的方法
    public Animal createBean111() {
        return new Animal();
    }
}
